// This file was decompiled using VCSCM.ini published on 2021-01-30
{$CLEO .cs}

0000: NOP 

:Noname_2
0001: wait 50 ms 


00D6: if or
8256: not player $PLAYER_CHAR defined
0117: player $PLAYER_CHAR wasted
then
0002: jump @Noname_2 
end

00D6: if and
0256: player $PLAYER_CHAR defined
80DF:   not actor $player_actor in_any_car 
004D: jump_if_false @Noname_357 
0054: store_player $player_char position_to 0@ 1@ 2@ 
00D6: if 
05F0: 3@ = random_vehicle_near_point 0@ 1@ 2@ in_radius 4.0 find_next 0 pass_wrecked 1 //IF and SET 
004D: jump_if_false @Noname_357 

:Noname_70
         
0001: wait 100 ms 

00D6: if or
8256: not player $PLAYER_CHAR defined
0117: player $PLAYER_CHAR wasted
then
0002: jump @Noname_2 
end

00D6: if 
010F:   player $PLAYER_CHAR wanted_level > 0
then
0002: jump @Noname_70 
end


0441: 4@ = car 3@ model 
00D6: if or
0039:   4@ == 150 // @ == int 
0039:   4@ == 168 // @ == int 
0039:   4@ == 216 // @ == int 
0039:   4@ == 6154 // @ == int 
004D: jump_if_false @Noname_327 
046C: 5@ = car 3@ driver 
01E9: 6@ = car 3@ num_passengers 
00D6: if and  
80DF:   not actor $player_actor in_any_car
0039:   6@ == 0 // @ == int 
056D:   actor 5@ defined 
004D: jump_if_false @Noname_327 
00BC: text_highpriority 'ATTRME3' time 500 1 
00D6: if 
00E1:   player 0 pressed_button 4 
004D: jump_if_false @Noname_327 
046C: 5@ = car 3@ driver 
01E9: 6@ = car 3@ num_passengers 
00D6: if and
0039:   6@ == 0 // @ == int 
056D:   actor 5@ defined 
004D: jump_if_false @Noname_327 
05F5: cleo_call @Noname_1505 params_count 2 3@ 5@ 
00D6: if 
00DB:   actor $player_actor in_car 3@ 
004D: jump_if_false @Noname_327 
05F5: cleo_call @Noname_364 params_count 1 3@ 
02E3: 7@ = car 3@ speed 

:Noname_287
0039:   7@ == 0 // @ == int 
004D: jump_if_false @Noname_327 
0001: wait 0 ms 
04BA: set_car 0@ speed_instantly 10.0 
01C3: mark_car_as_no_longer_needed 0@ 
0002: jump @Noname_287 

:Noname_327
85F0:   not 3@ = random_vehicle_near_point 0@ 1@ 2@ in_radius 4.0 find_next 1 pass_wrecked 1 //IF and SET 
004D: jump_if_false @Noname_70 

:Noname_357
0002: jump @Noname_2 

:Noname_364
00A0: store_actor $player_actor position_to 1@ 2@ 3@ 
0362: put_actor $player_actor at 0.0 0.0 0.0 and_remove_from_car 
0391: release_textures 
0390: load_txd_dictionary 'taxi' // never used in VC or GTA 3 
038F: load_texture 'map' as 1 // Load dictionary with 0390 first 
038F: load_texture 'cross' as 2 // Load dictionary with 0390 first 
010D: set_player $PLAYER_CHAR wanted_level_to 0

0007: 5@ = 320.0 // @ = float 
0007: 6@ = 224.0 // @ = float 
0007: 10@ = 3000.0 // @ = float 
0017: 10@ /= 450.0 // @ /= float 
0006: TIMERB = 3000 // @ = int 

:Noname_486
0001: wait 0 ms 
03F0: enable_text_draw 1 
05F5: cleo_call @Noname_1743 params_count 9 320.0 224.0 640.0 448.0 255 255 255 255 1 
05F5: cleo_call @Noname_1743 params_count 9 5@ 6@ 16.0 16.0 255 255 255 255 2 
00A0: store_actor $player_actor position_to 1@ 2@ 3@ 
0007: 3@ = -177.7998 // @ = float 
00D6: if 
0038:   $passed_COK2_Phnom_Penh_86 == 1 // $ == int 
004D: jump_if_false @Noname_630 
0007: 3@ = -2000.8 // @ = float 

:Noname_630
00D6: if and
0023:   2000.0 > 1@ // float > @ 
0023:   2000.0 > 2@ // float > @ 
0025:   1@ > 3@ // @ > @ float 
0021:   2@ > -2000.0 // @ > float 
004D: jump_if_false @Noname_794 
00D6: if 
00E1:   player 0 pressed_button 10 
004D: jump_if_false @Noname_706 
000F: 5@ -= 0.6 // @ -= float 

:Noname_706
00D6: if 
00E1:   player 0 pressed_button 11 
004D: jump_if_false @Noname_733 
000B: 5@ += 0.6 // @ += float 

:Noname_733
00D6: if 
00E1:   player 0 pressed_button 8 
004D: jump_if_false @Noname_760 
000F: 6@ -= 0.6 // @ -= float 

:Noname_760
00D6: if 
00E1:   player 0 pressed_button 9 
004D: jump_if_false @Noname_916 
000B: 6@ += 0.6 // @ += float 
0002: jump @Noname_916 

:Noname_794
00D6: if 
0023:   2000.0 > 1@ // float > @ 
004D: jump_if_false @Noname_825 
000B: 5@ += 1.6 // @ += float 

:Noname_825
00D6: if 
0023:   2000.0 > 2@ // float > @ 
004D: jump_if_false @Noname_856 
000F: 6@ -= 1.6 // @ -= float 

:Noname_856
00D6: if 
0025:   1@ > 3@ // @ > @ float 
004D: jump_if_false @Noname_885 
000F: 5@ -= 1.6 // @ -= float 

:Noname_885
00D6: if 
0021:   2@ > -2000.0 // @ > float 
004D: jump_if_false @Noname_916 
000B: 6@ += 1.6 // @ += float 

:Noname_916
0087: 7@ = 5@ // @ = @ float 
0013: 7@ *= 4.6875 // @ *= float 
000F: 7@ -= 1500.0 // @ -= float 
0013: 7@ *= 2.52 // @ *= float 
0087: 8@ = 6@ // @ = @ float 
006B: 8@ *= 10@ // @ *= @ float 
000F: 8@ -= 1500.0 // @ -= float 
0013: 8@ *= 2.0 // @ *= float 
0087: 9@ = 8@ // @ = @ float 
0013: 9@ *= 1.72 // @ *= float 
0063: 8@ -= 9@ // @ -= @ float 
00A1: put_actor $player_actor at 7@ 8@ 560.0 
00AB: put_car 0@ at 7@ 8@ 50.0 
00D6: if 
00E1:   player 0 pressed_button 4 
004D: jump_if_false @Noname_1493 
04D3: get_nearest_car_path_coords_from 7@ 8@ 560.0 type 2 store_to 11@ 12@ 13@ 
0509: 3@ = distance_between_point 1@ 2@ and_point 11@ 12@ 
008C: 3@ = float_to_integer 3@ 
0016: 3@ /= 5 // @ /= int 
0012: 3@ *= -1 // @ *= int 
0109: player $player_char money += 3@ 
00AB: put_car 0@ at 11@ 12@ 13@ 
000B: 11@ += 1.0 // @ += float 
0464: put_actor $player_actor into_turret_on_car 0@ at_car_offset 1.3 0.0 1.1322 position 3 angle 270.0 with_weapon 0 
0465: remove_actor $player_actor from_turret_mode 
01C3: mark_car_as_no_longer_needed 0@ 
0006: TIMERA = 0 // @ = int 

:Noname_1209
8442:   not player $player_char sitting_in_car 0@ 
004D: jump_if_false @Noname_1364 
0001: wait 0 ms 
05F5: cleo_call @Noname_1743 params_count 9 320.0 224.0 640.0 448.0 255 255 255 255 1 
05F5: cleo_call @Noname_1743 params_count 9 5@ 6@ 16.0 16.0 255 255 255 255 2 
00D6: if 
0019:   TIMERA > 4000 // @ > int 
004D: jump_if_false @Noname_1357 
01C3: mark_car_as_no_longer_needed 0@ 
03BF: set_player $player_char ignored_by_everyone_to 0 
01F7: set_player $player_char ignored_by_cops_state_to 0 
0002: jump @Noname_1486 

:Noname_1357
0002: jump @Noname_1209 

:Noname_1364
04BA: set_car 0@ speed_instantly 1.0 
01C3: mark_car_as_no_longer_needed 0@ 
03BF: set_player $player_char ignored_by_everyone_to 0 
01F7: set_player $player_char ignored_by_cops_state_to 0 
0489: set_actor $player_actor muted 0 

:Noname_1400
00E0:   player $player_char in_any_car 
004D: jump_if_false @Noname_1423 
0001: wait 0 ms 
0002: jump @Noname_1400 

:Noname_1423
0006: TIMERA = 0 // @ = int 

:Noname_1430
8029:   not  TIMERA >= 5000 // @ >= int 
004D: jump_if_false @Noname_1481 
0001: wait 0 ms 
00A9: set_car 0@ to_normal_driver 
00AD: set_car 0@ max_speed_to 700.0 
04BA: set_car 0@ speed_instantly 10.0 
0002: jump @Noname_1430 

:Noname_1481
01C3: mark_car_as_no_longer_needed 0@ 

:Noname_1486
0002: jump @Noname_1500 

:Noname_1493
0002: jump @Noname_486 

:Noname_1500
05F6: cleo_return 0 

:Noname_1505
00AD: set_car 0@ max_speed_to 0.0 
04BA: set_car 0@ speed_instantly 0.0 
0006: TIMERB = 10000 // @ = int 
0012: TIMERB *= -1 // @ *= int 
0006: TIMERA = 100 // @ = int 
0006: 15@ = 0 // @ = int 
0186: 14@ = create_marker_above_car 0@ 

:Noname_1562
0001: wait 0 ms 
0085: 10@ = TIMERB // @ = @ int 
0016: 10@ /= 1000 // @ /= int 
0012: 10@ *= -1 // @ *= int 
00D6: if 
80DB:   not actor $player_actor in_car 0@ 
004D: jump_if_false @Noname_1608 

:Noname_1608
00AA: store_car 0@ position_to 1@ 2@ 3@ 
00D6: if and
80DB:   not actor $player_actor in_car 0@ 
8019:   not  10@ > 0 // @ > int 
004D: jump_if_false @Noname_1662 
03E6: remove_text_box 
0164: disable_marker 14@ 
0002: jump @Noname_1738 

:Noname_1662
03E6: remove_text_box 
0164: disable_marker 14@ 
01D4: actor $player_actor go_to_car 0@ and_enter_it_as_a_passenger 
00D6: if 
00DB:   actor $player_actor in_car 0@ 
004D: jump_if_false @Noname_1731 
03BF: set_player $player_char ignored_by_everyone_to 1 
01F7: set_player $player_char ignored_by_cops_state_to 1 
0489: set_actor $player_actor muted 1 
0006: TIMERA = 0 // @ = int 
0002: jump @Noname_1738 

:Noname_1731
0002: jump @Noname_1562 

:Noname_1738
05F6: cleo_return 0 

:Noname_1743
05E0: 9@ = read_memory 10550532 size 4 virtual_protect 1 
05E0: 10@ = read_memory 10550536 size 4 virtual_protect 1 
0093: 9@ = integer_to_float 9@ 
0093: 10@ = integer_to_float 10@ 
0015: 9@ /= 640.0 // $ /= float 
0069: 0@ *= 9@ // $ *= $ float 
0015: 10@ /= 448.0 // $ /= float 
0069: 1@ *= 10@ // $ *= $ float 
0069: 2@ *= 9@ // $ *= $ float 
0069: 3@ *= 10@ // $ *= $ float 
03F0: enable_text_draw 1 
038D: draw_texture 8@ position 0@ 1@ size 2@ 3@ RGBA 4@ 5@ 6@ 7@ // never used in VC or GTA 3 
05F6: cleo_return 0 
